package com.mihoyo.org.service.impl;

import com.mihoyo.basic.service.impl.BaseServiceImpl;
import com.mihoyo.basic.utils.PageList;
import com.mihoyo.org.domain.Employee;
import com.mihoyo.org.mapper.EmpMapper;
import com.mihoyo.org.query.EmpQuery;
import com.mihoyo.org.service.IEmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmpServiceImpl extends BaseServiceImpl<Employee> implements IEmpService {

    @Autowired
    private EmpMapper empMapper;

    @Override
    public List<Employee> findEmps(Long id) {
        return empMapper.findEmps(id);
    }

}
